package com.cy.milktea.pojo;


import com.cy.milktea.pojo.System.BaseObject;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)//将其父类属性也进行比较
@ToString(callSuper = true)//显示其父类属性
@Data
public class Entremets extends BaseObject implements Serializable {

    private static final long serialVersionUID = 6849794400754667363L;

    private Integer id;  //---------->配料编号
    private String name;  //--------->配料名称
    private String image;  //-------->配料图片路径
    private Integer status;  //------>状态 0:上架  1:下架
    private Long price;  //---------->价格(分)

    private MultipartFile file;  //-->图片文件
}
